package com.dpj;

import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class Reg extends BaseActivity_NoBar {
	WebView webView;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.reg);
		
		webView = (WebView) this.findViewById(R.id.webView);
		webView.requestFocusFromTouch(); 
		
		WebSettings webSettings = webView.getSettings();
		webSettings.setJavaScriptEnabled(true);
		webSettings.setUseWideViewPort(false);
		webSettings.setSupportZoom(true);
		WebViewClient webViewClient = new WebViewClient(){
			
			@Override
			public void doUpdateVisitedHistory(WebView view, String url,
					boolean isReload) {
				super.doUpdateVisitedHistory(view, url, isReload);
			}

			@Override
			public boolean shouldOverrideUrlLoading(WebView view, String url) {
				webView.loadUrl(url);
				return super.shouldOverrideUrlLoading(view, url);
			}
			
			
		};
		webView.setWebViewClient(webViewClient);
		webView.loadUrl("http://59.124.34.13/solomo/memberRegister.aspx");
	}

	
}
